#define _CRT_SECURE_NO_WARNINGS
#define _CRT_SECURE_NO_WARNINGS
#pragma once
#include<stdio.h>
#include<stdlib.h>
#include<assert.h>
#include<stdbool.h>
//前置声明
struct TreeNode;

typedef  struct TreeNode* QDataType;
typedef struct QueneNode
{
	QDataType  data;
	struct QunenNode* next;
} QueueNode;

typedef struct Qunene
{
	QueueNode* head;
	QueueNode* tail;
}Queue;
void  QueueInit(Queue* pq);
bool QueueEmpty(Queue* pq);
void QueueDestroy(Queue* pq);
void QueuePush(Queue* pq, QDataType x);
void QueuePop(Queue* pq);
int QueueFront(Queue* pq);
int QueueSize(Queue* pq);